ContextCapture User Guide

3MXB export

The exported 3MXB files each contain a siblinghood in the LOD tree, packed in a single binary file. The produced 3MXB will therefore only have resources of type texture buffer and geometry buffer. Resources of type texture file or geometry file are not being generated by ContextCapture.

  1. textureBuffer

    Currently, only the jpg format is supported by the ContextCapture export. The jpg is packed inside a file buffer, without modifications.

  2. 2geometryBuffer

    A geometry buffer is currently only an OpenCTM file ( ), saved as a binary buffer in the 3MXB file.

    The OpenCTM format includes:

    positions [v0, … , vn] array of vertex positions. vi = [p0, p1, p2]
    normals [n0, … , nn] array of vertex normal.

    Optional, and currently not included.

    texture coordinates: [uv0, … , uvn] array of vertex texture coordinates. uvi = [u, v].

    Only valid when the geometry has an attached texture.

    triangle indices: [i0, … , it] array of vertex indices, ix = an array position in the vertex array.

    The indices, takes by 3, form the triangles.